package com.lp.biz.member.model.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @program: backend
 * @description:
 * @author: Ke.Song
 * @since: 2024-06-29 23:33:37
 */
@Data
public class RateList {

    @NotNull(message = "id不能为空")
    private Integer id;

    @NotBlank(message = "类型不能为空")
    private String code;

    private String level;

    @NotNull(message = "分销比例不能为空")
    private BigDecimal rate;

    private Integer condition;
}
